package com.kgis.map.geometry {
    import com.kgis.map.Map;
    import com.kgis.map.common.enum.GeoTypeEnum;
    import com.kgis.map.geometry.IGeometry;
    import com.kgis.map.geometry.PointGeometry;
    import com.kgis.map.geometry.basetype.Extent;
    import com.kgis.map.geometry.basetype.Location;
    import com.kgis.map.style.IStyle;
    
    import flash.display.Sprite;

	
    public class AbstractGeometry implements IGeometry {
        public var srid:int = 0;

        public function AbstractGeometry() {
        }

        public function getGeometryType():int {
            return GeoTypeEnum.UNKNOWN;
        }

        public function getExtent():Extent {
            return null;
        }

        public function offset(location:Location):void {
            return;
        }

        public function getLabelAngle():Number {
            return 0;
        }

        public function removePoint(point:PointGeometry):void {
            return;
        }

        public function draw(sprite:Sprite, geoStyle:IStyle, map:Map):void {
            return;
        }

        public function getLabelLocation():Location {
            return null;
        }

        public function isValid():Boolean {
            return true;
        }

		


        public function getTolerancePoint(mousePoint:PointGeometry, distance:Number, snapPoint:PointGeometry):int {
            return 0;
        }

        public function hasPoint(point:PointGeometry):Boolean {
            return false;
        }
		public function getCenterPoint():PointGeometry{
			return null;
		}
    }
}